package com.jijuxie.agent.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.jijuxie.common.core.R;

/**
 * 测试控制器
 */
@RestController
@RequestMapping("/test")
public class TestController {

    /**
     * 测试接口
     */
    @GetMapping("/hello")
    public R<String> hello() {
        return R.ok("Hello from TestController!");
    }
    
    /**
     * 测试Agent路径
     */
    @GetMapping("/agent")
    public R<String> testAgent() {
        return R.ok("Agent test endpoint is working!");
    }
} 